package com.hubei.service.impl;

import com.hubei.dao.UserDao;
import com.hubei.service.UserService;
import com.hubei.vo.User;
import org.springframework.stereotype.Service;

/**
 * @Title: UserServiceImpl
 * @Author qzAI
 * @Package com.hubei.service.impl
 * @Date 2025/6/28 11:23
 */
@Service("userService")
public class UserServiceImpl implements UserService {
    private UserDao userDao = null;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public User queryUserById(Integer id) {
        return this.userDao.queryUserById(id);
    }
}